package com.example.demo.mvvm.ui.activity;

import com.example.demo.mvvm.BR;
import com.example.demo.mvvm.R;
import com.example.demo.mvvm.databinding.ActivityLoginBinding;
import com.example.demo.mvvm.ui.base.BaseActivity;
import com.example.demo.mvvm.ui.vm.activity.LoginActivityVm;

public class LoginActivity extends BaseActivity<ActivityLoginBinding , LoginActivityVm> {

    @Override
    protected void init() {

    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_login;
    }

    @Override
    public int getVariableId() {
        return BR.viewModel;
    }

    @Override
    public LoginActivityVm getViewModel() {
        return new LoginActivityVm(databing);
    }
}
